package me.fung.wubi.worker.builder

import me.fung.wubi.base.define.table.CodeTable
import me.fung.wubi.base.define.table.Lexicon
import me.fung.wubi.base.define.value.WordFrequency
import java.io.File

class FileResources(
    /**
     * 码表
     */
    val lexiconFiles: List<File>,
    /**
     * 词频
     */
    val wordFrequencyFiles: List<File>,
    /**
     * 简码
     */
    val shortCodeFiles: List<File>,
    /**
     * 生僻字
     */
    val rareFiles: List<File>,
    /**
     * 词组
     */
    val groupFiles: List<File>,
) : WubiResource {

    class Content(
        val lexicon: Lexicon,
        val wordFrequency : WordFrequency,
        val shortCodeTables: List<CodeTable>,
        val shortFullCodeTable: CodeTable,
        val rareTables: List<CodeTable>,
        val groupTables: List<CodeTable>,
        val simpleTable: CodeTable
    )
}

